<template>
  <div class="recomment">
    <div class="recomment-title">
      <div class="iconfont icon-title">&#xe6be;</div>
      <div>去哪儿推荐</div>
    </div>
    <div class="recomment-item border-bottom">
      <div>
        <div style="font-size: 0.32rem;">[夜场]奥林匹克塔成人票</div>
        <div class="item-title">21:00前随买随用</div>
        <div>自营随时退</div>
      </div>
      <div class="item-right">
        <div>
          <span style="color: #FF7F50">￥</span>
          <span class="item-money">138</span>
        </div>
        <div class="item-button">预订</div>
      </div>
    </div>

    <div class="recomment-item border-bottom">
      <div>
        <div style="font-size: 0.32rem;">[夜场]奥林匹克塔成人票</div>
        <div class="item-title">21:00前随买随用</div>
        <div>自营随时退</div>
      </div>
      <div class="item-right">
        <div>
          <span style="color: #FF7F50">￥</span>
          <span class="item-money">138</span>
        </div>
        <div class="item-button">预订</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'DetailRecomment'
}
</script>
<style lang="stylus" scoped>
.border-bottom {
  &:before {
    border-color: #e0e0e0;
  }
}

.recomment {
  border-bottom: 0.18rem solid #F5F5F5;

  .recomment-title {
    display: flex;
    align-items: center;
    line-height: 0.8rem;
    // text-indent: 0.2rem;
    font-size: 0.32rem;

    .icon-title {
      color: #fff;
      width: 0.4rem;
      height: 0.4rem;
      font-size: 0.32rem;
      background: #FA8072;
      line-height: 0.4rem;
      margin: 0 0.2rem 0 0.3rem;
      text-align: center;
      border-radius: 50%;
    }
  }

  .recomment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 0.3rem 0.2rem 0;
    margin-left: 0.3rem;
    color: #808080;

    // background: red;
    .item-title {
      padding: 0.12rem 0;
      // background: green;
    }

    .item-right {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;

      .item-money {
        color: #FF7F50;
        font-size: 0.42rem;
      }

      .item-button {
        width: 1.8rem;
        height: 0.6rem;
        background: #ff8c12;
        line-height: 0.6rem;
        color: #fff;
        border-radius: 0.1rem;
      }
    }
  }
}
</style>
